from django.urls import path
from .views import LearningProgressView, ContentProgressView, LearningHistoryView, LearningStatisticsView

urlpatterns = [
    # 获取用户的学习进度列表和创建/更新学习进度
    path('progress/', LearningProgressView.as_view(), name='learning_progress'),
    # 获取特定内容的学习进度
    path('progress/content/', ContentProgressView.as_view(), name='content_progress'),
    # 记录学习历史
    path('history/', LearningHistoryView.as_view(), name='learning_history'),
    # 获取学习统计信息
    path('statistics/', LearningStatisticsView.as_view(), name='learning_statistics'),
]